﻿<div [@routerTransition] id="app-contact">
    <div class="m-subheader">
        <div class="row align-items-center">
            <div class="mr-auto col-auto">
                <h3 class="m-subheader__title m-subheader__title--separator">
                    <span>个人设置</span>
                </h3>
                <span class="m-section__sub">
                    常用设置
                </span>
            </div>
        </div>
    </div>


    <div class="m-content">
        <div class="m-portlet m-portlet--mobile">
            <div class="m-portlet__body">            
                <div class="row align-items-center">
                                <div class="col-md-6 col-sm-12">
                                    <div class="m-portlet m-portlet--full-height income-statistics">
                                        <div class="m-portlet__head">
                                            <div class="m-portlet__head-caption">
                                                <div class="m-portlet__head-title">
                                                    <h3 class="m-portlet__head-text">
                                                        <i class="la la-print
                                                        m--font-info"></i>
                                                        <span class="caption-subject font-blue bold uppercase">默认打印机</span>
                                                        <small class="d-none d-sm-inline-block">
                                                            <span class="caption-helper">
                
                                                            </span>
                                                        </small>
                                                    </h3>
                                                </div>
                                            </div>
                                            <div class="m-portlet__head-tools">
                
                                            </div>
                                        </div>
                                        <div class="m-portlet__body">
                                                <span class="m--font-info">
                                                        {{myPrinterInfo}}
                                                    </span>
                                            <label>可选打印机</label>
                                        <select #sourceNameCombobox
                                                name="sourceName"
                                                class="form-control bs-select"
                                                [(ngModel)]="newPrinterId">
                                            <option *ngFor="let printer of printerCombobox" [value]="printer.value" >{{printer.displayText}}</option>
                                        </select> 
                                        <button (click)="saveMyPrinter()" class="btn btn-primary"><i class="fa fa-save
                                            "></i> 设置默认打印机</button>
                                        </div>
                                    </div>
                </div>
            </div>
        </div>
    </div>




</div>